package org.gd.hellojaxb.privat24.other;

import org.gd.hellojaxb.privat24.credit.CreditStatementsRequest;
import org.gd.hellojaxb.utils.MarshallProperties;
import org.gd.hellojaxb.utils.Marshall;
import org.gd.hellojaxb.utils.Timer;

public class TestApp {

    public static void main(String[] args) {
        Timer.start();
        System.out.println();
        try {
            //new Statements().toXml();
            /*
            System.out.println();
            System.out.print(Marshall.marshal(
                    VolyaRequest.class,
                    new VolyaRequest(),
                    Marshaller.JAXB_FORMATTED_OUTPUT));
            */
            /*
            System.out.println();
            System.out.print(Marshall.marshal(
                    VolyaResponse.class,
                    new VolyaResponse("res", "mes"),
                    Marshaller.JAXB_FORMATTED_OUTPUT));
            */
            /*
            System.out.println();
            System.out.print(Marshall.marshal(
                    NewsList.class,
                    new NewsList(),
                    Marshaller.JAXB_FORMATTED_OUTPUT));
            */
            /*
            SessionCounterDateList list = new SessionCounterDateList();
            list.add(new SessionCounterDate());
            list.add(new SessionCounterDate());
            list.add(new SessionCounterDate());

            System.out.println();
            String xml;
            System.out.print(xml = Marshall.marshal(list, Marshaller.JAXB_FORMATTED_OUTPUT));

            SessionCounterDateList listNew = UnMarshall.marshal(xml, SessionCounterDateList.class);

            System.out.println(listNew.get(0).getDifference().getTime());
            System.out.println(listNew.get(1).getDifference().getTime());
            System.out.println(listNew.get(2).getDifference().getTime());
            */
            /*
            System.out.print(Marshall.marshal(
                    new Statements(),
                    Marshaller.JAXB_FORMATTED_OUTPUT,
                    Marshaller.JAXB_FRAGMENT));
            */
            /*
            Statements statements = UnMarshall.marshal(getXML(), Statements.class);
            System.out.println(statements.getPanAcc().getSummary().getHolder());
            System.out.println(statements.getPanAcc().getStatementsList().get(0).getStatement().getSource().getAccount().getName());
            System.out.println();
            System.out.println();
            System.out.print(Marshall.marshal(
                    statements,
                    Marshaller.JAXB_FORMATTED_OUTPUT,
                    Marshaller.JAXB_FRAGMENT));
            */
            /*
            RequestToIQ requestToIQ = new RequestToIQ(new Date(), new Date(), "");
            System.out.print(Marshall.marshal(
                    requestToIQ,
                    Marshaller.JAXB_FORMATTED_OUTPUT));
            */
            /*
            System.out.print(Marshall.marshal(
                    new NewsErrorWrapper("", ""),
                    Marshaller.JAXB_FORMATTED_OUTPUT,
                    Marshaller.JAXB_FRAGMENT));
            */
            /*
            System.out.print(Marshall.marshal(
                    new BiplanPaymentList(),
                    Marshaller.JAXB_FORMATTED_OUTPUT,
                    Marshaller.JAXB_FRAGMENT));
            */
            /*
            AccountOrderWrapper wrapper = new AccountOrderWrapper("errorMessage").setError(null).setStatus(null).setPhone("phone").setOkpo("okpo");
            System.out.println(Marshall.marshal(
                    wrapper,
                    Marshaller.JAXB_FRAGMENT,
                    Marshaller.JAXB_FORMATTED_OUTPUT));
            */
            /*
            System.out.println(Marshall.marshal(
                    new ProminResponseWrapper("value"),
                    Marshaller.JAXB_FRAGMENT,
                    Marshaller.JAXB_FORMATTED_OUTPUT));
            */

            /*Date date1 = new Date();
            Date date2 = new Date(new Date().getTime() + 1000*60*60*12);
            System.out.println(date1.before(date2));
            System.out.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", new Locale("UA")).format();*/

            /*
            System.out.println(Marshall.marshal(
                    new TestJaxbObject("1", "2", "3", 4,5,6, new Object()),
                    Marshaller.JAXB_FRAGMENT,
                    Marshaller.JAXB_FORMATTED_OUTPUT));
            */

            System.out.println(Marshall.getInstance().marshal(
                    new CreditStatementsRequest(),
                    MarshallProperties.FORMATTED_OUTPUT,
                    MarshallProperties.WITHOUT_XML_HEADER
            ));

        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            System.out.println();
            Timer.stop();
            System.exit(0);
        }
    }

    @SuppressWarnings("unused")
    private static String getXML() {
        return "<panAccStatement> " +
                "  <maxDate>31.12.2012</maxDate> " +
                "  <panMain>5440133000432662</panMain> " +
                "  <panAcc> " +
                "    <summary> " +
                "      <panmain>5440133000432662</panmain> " +
                "      <holder>ДОЛЖЕНКО РОМАН ВИКТОРОВИЧ</holder> " +
                "      <brest>2.74</brest> " +
                "      <erest>7.08</erest> " +
                "      <db>16.60</db> " +
                "      <cr>20.94</cr> " +
                "      <fee>-0.05</fee> " +
                "      <discount>0.00</discount> " +
                "    </summary> " +
                "    <list> " +
                "      <row> " +
                "        <statement idFront=\"8343585938\" linked=\"true\" entryType=\"S\" mcc=\"4829\" code=\"P14\" tranRef=\"361788534\" approval=\"093966\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000433785\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000433785\" /> " +
                "          </source> " +
                "          <amount amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>CR</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:28:30\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.78</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8340996647\" linked=\"true\" entryType=\"S\" mcc=\"4829\" code=\"P14\" tranRef=\"361762095\" approval=\"697200\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000433785\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000433785\" /> " +
                "          </source> " +
                "          <amount amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>CR</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T15:30:42\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>3.44</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8374044435\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"362225059\" approval=\"745671\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-10.00\" ccy=\"UAH\" /> " +
                "          <original amt=\"10.00\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>01.01.2013</posted> " +
                "          <valuedate id=\"20130101T04:22:44\" >01.01.2013</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>7.08</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8360593458\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361946333\" approval=\"026396\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.11\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.11\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>29.12.2012</posted> " +
                "          <valuedate id=\"20121229T15:04:20\" >29.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>17.08</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"0\" linked=\"false\" entryType=\"S\" mcc=\"\" code=\"P33\" tranRef=\"361818769\" approval=\"950454\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>CR</trandc> " +
                "          <posted>28.12.2012</posted> " +
                "          <valuedate id=\"20121228T09:29:05\" >28.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>17.19</rest> " +
                "          <descr></descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343613442\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788635\" approval=\"472436\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-3.04\" ccy=\"UAH\" /> " +
                "          <original amt=\"3.01\" ccy=\"UAH\" /> " +
                "          <fee>0.03</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:32:23\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>17.18</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343590819\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788554\" approval=\"693402\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:29:06\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.22</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343590796\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788553\" approval=\"847353\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:29:06\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.23</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343590781\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788552\" approval=\"811685\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:29:06\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.24</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343588439\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788540\" approval=\"185552\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.52\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.51\" ccy=\"UAH\" /> " +
                "          <fee>0.01</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:28:47\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.25</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343586236\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788535\" approval=\"372990\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:28:33\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.77</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343585585\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788532\" approval=\"911384\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:28:28\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.77</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343585576\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788531\" approval=\"676602\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.11\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.11\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:28:28\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.78</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8343552338\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361788398\" approval=\"220316\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-1.00\" ccy=\"UAH\" /> " +
                "          <original amt=\"1.00\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T19:23:56\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>20.89</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8342965608\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P14\" tranRef=\"361785214\" approval=\"189257\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"PAYMENTS P24 980\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"20.00\" ccy=\"UAH\" /> " +
                "          <original amt=\"20.00\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>CR</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T18:14:57\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>21.89</rest> " +
                "          <descr>УКРАИНА, ДНЕПРОПЕТРОВСКАЯ, ДНЕПРОПЕТРОВСК, Г.ДНЕПРОПЕТРОВСК</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8341604784\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361768400\" approval=\"779239\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-1.00\" ccy=\"UAH\" /> " +
                "          <original amt=\"1.00\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T16:18:22\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>1.89</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8341005418\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361762185\" approval=\"762182\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T15:31:23\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>2.89</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8341004343\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361762178\" approval=\"955622\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T15:31:18\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>2.90</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8341004339\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361762177\" approval=\"174056\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T15:31:18\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>2.91</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8341000454\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361762129\" approval=\"666569\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.52\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.51\" ccy=\"UAH\" /> " +
                "          <fee>0.01</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T15:30:59\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>2.92</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8340995983\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361762087\" approval=\"792181\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T15:30:39\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>3.43</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8340995970\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361762086\" approval=\"725603\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.01\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.01\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T15:30:39\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>3.44</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8340995969\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361762085\" approval=\"230376\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.11\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.11\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>27.12.2012</posted> " +
                "          <valuedate id=\"20121227T15:30:39\" >27.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>3.45</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8317385220\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P14\" tranRef=\"361519172\" approval=\"133864\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"0.89\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.89\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>CR</trandc> " +
                "          <posted>25.12.2012</posted> " +
                "          <valuedate id=\"20121225T12:22:23\" >25.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>3.56</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"8305132294\" linked=\"false\" entryType=\"S\" mcc=\"4829\" code=\"P10\" tranRef=\"361388306\" approval=\"134703\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"ABANK,HEAD OFFICE,DNEPROPETR-SK,UA\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"-0.09\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.09\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>DB</trandc> " +
                "          <posted>24.12.2012</posted> " +
                "          <valuedate id=\"20121224T11:55:54\" >24.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>2.67</rest> " +
                "          <descr>ABANK,HEAD OFFICE,DNEPROPETR-SK,UA</descr> " +
                "        </statement> " +
                "      </row> " +
                "      <row> " +
                "        <statement idFront=\"0\" linked=\"false\" entryType=\"S\" mcc=\"\" code=\"P33\" tranRef=\"361194772\" approval=\"930729\" > " +
                "          <source> " +
                "            <account ccy=\"UAH\" card=\"5440133000432662\" name=\"\" acc=\"5440133000432662\" /> " +
                "          </source> " +
                "          <amount amt=\"0.02\" ccy=\"UAH\" /> " +
                "          <original amt=\"0.02\" ccy=\"UAH\" /> " +
                "          <fee>0.00</fee> " +
                "          <discount>0.00</discount> " +
                "          <trandc>CR</trandc> " +
                "          <posted>21.12.2012</posted> " +
                "          <valuedate id=\"20121221T04:49:24\" >21.12.2012</valuedate> " +
                "          <country>UKR</country> " +
                "          <details></details> " +
                "          <rest>2.76</rest> " +
                "          <descr></descr> " +
                "        </statement> " +
                "      </row> " +
                "    </list> " +
                "  </panAcc> " +
                "</panAccStatement> ";
    }
}
